import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import less from "less"
import Axios from "./http/axios.js"
import ElementUI from "element-ui"
import 'element-ui/lib/theme-chalk/index.css'
import "./assets/font-awesome-4.7.0/css/font-awesome.css"
import './assets/css/global.less'
import * as echarts from 'echarts'
//引入字体文件
import './assets/font/iconfont.css'


Vue.prototype.$axios = Axios
Vue.config.productionTip = false
Vue.use(ElementUI)


//将全局的echarts对象挂载到Vue的原型对象上
Vue.prototype.$echarts = echarts
Vue.use(less);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
